<head  th:fragment="copyheaderJsAndCss">
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1;IE=11;IE=10;IE=9"/>
    <title>烟草科技知识图谱服务平台</title>

    <link rel="shortcut icon" href="../static/img/favicon.png" th:href="@{/img/favicon.png}"/>

    <meta name="description" content=""/>

    <!-- CSS -->
    <link href="../static/css/preload.css" th:href="@{/css/preload.css}" rel="stylesheet"/>

    <link href="../static/css/index-new.css" th:href="@{/css/index-new.css}" rel="stylesheet" title="default" />
    <link href="../static/css/vendors.css" th:href="@{/css/vendors.css}" rel="stylesheet"/>
    <link href="../static/css/syntaxhighlighter/shCore.css" th:href="@{/css/syntaxhighlighter/shCore.css}"
          rel="stylesheet"/>

    <link href="../static/css/style-blue.css" th:href="@{/css/style-blue.css}" rel="stylesheet" title="default"/>
    <link href="../static/css/width-full.css" th:href="@{/css/width-full.css}" rel="stylesheet" title="default"/>
    <link href="../static/css/footer.css" th:href="@{/css/footer.css}" rel="stylesheet" title="default"/>
    <link href="../static/css/bootstrap-datetimepicker.min.css" th:href="@{/css/bootstrap-datetimepicker.min.css}"
          rel="stylesheet">
    <link href="../static/css/jquery.dataTables.min.css" th:href="@{/css/jquery.dataTables.min.css}" rel="stylesheet">
    <link href="../static/css/vis-network.min.css" th:href="@{/css/vis-network.min.css}" rel="stylesheet">
    <link href="../static/css/jquery.range.css" th:href="@{/css/jquery.range.css}" rel="stylesheet">
    <link href="../static/css/spop.css" th:href="@{/css/spop.css}" rel="stylesheet" title="default"/>
    <script src="../static/js/spop.js" th:src="@{/js/spop.js}"></script>
    <script src="../static/js/echarts.min.js" th:src="@{/js/echarts.min.js}"></script>
    <script src="../static/js/echarts.dataTool.min.js" th:src="@{/js/echarts.dataTool.min.js}"></script>
    <script src="../static/js/echarts-wordcloud.min.js" th:src="@{/js/echarts-wordcloud.min.js}" type="text/javascript"></script>
    <script src="../static/js/echartsStyle.js" th:src="@{/js/echartsStyle.js}" type="text/javascript"></script>
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="../static/js/html5shiv.min.js" th:src="@{/js/html5shiv.min.js}"></script>
    <script src="../static/js/respond.min.js" th:src="@{/js/respond.min.js}"></script>
    <![endif]-->
</head>

<div th:fragment="copyheader">
<div style="height:71px;/*background-image: url(/img/index/top_bg.png);*/background-repeat: repeat-x"  >
    <!--<header id="header-full-top" class="hidden-xs header-full">-->
    <div class="container">
        <div style="height: 12px"></div>
        <div class="row">
            <a href="/" title="">
                <img src="/img/index/logo.png" alt="Logo"/>
            </a>
            <div class="pull-right" style="height: 47px;">
                <ul class="nav navbar-nav pull-right">
                    <li th:style="${#authorization.expression('isAuthenticated()')}? 'display: inline': 'display: none'">
                        <a href="/userFeedbackTable" th:href="@{/userFeedbackTable}" ><span>反馈</span></a>
                    </li>
                    <li th:style="${#authorization.expression('isAuthenticated()')}? 'display: inline': 'display: none'">
                        <!--<span sec:authentication="principal.authorities" id="role" style="visibility: hidden"></span>-->
                        <a href="/userInfoUpdate" th:href="@{/userInfoUpdate}"><span><span
                                sec:authentication="name" id="username"></span>&nbsp;欢迎您！</span></a>
                    </li>
                    <li th:style="${#authorization.expression('hasRole(''ROLE_MANAGER'')')}? 'display: inline': 'display: none'">
                        <a href="/manager/roleManager" th:href="@{/manager/roleManager}"><span>管理</span></a>
                    </li>
                    <li th:style="${#authorization.expression('isAuthenticated()')}? 'display: inline': 'display: none'">
                        <a href="/logout"><span>注销</span></a>
                    </li>
                    <li th:style="${#authorization.expression('isAuthenticated()')}? 'display: none': 'display: inline'">
                        <a href="/login" th:href="@{/login}"><img src="/img/index/login.png" alt="Logo"/></a>
                    </li>
                    <li th:style="${#authorization.expression('isAuthenticated()')}? 'display: none': 'display: inline'">
                        <a href="/register" th:href="@{/register}"><img src="/img/index/login02.png"
                                                                        alt="Logo"/></a>
                    </li>
                </ul>
            </div>
        </div>
    </div> <!-- container -->
    <!--</header>--> <!-- header-full -->
</div>
<nav class="navbar navbar-static-top navbar-default navbar-header-full yamm" role="navigation" id="header"
     style="/*background-color: #160E3D;*/background-image: url(/img/index/banner_bg.png); border-bottom: #495793 1px  solid;">
    <div class="container">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <i class="fa fa-bars"></i>
            </button>
            <a id="ar-brand" class="navbar-brand hidden-lg hidden-md hidden-sm" href="index.html">Tobacco <span>Information Knowledge</span></a>
        </div> <!-- navbar-header -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1" style="z-index: 101">
            <ul id="navMenu" class="nav navbar-nav">
                <li id="home"><a href="/" th:href="@{/}" style="color: white">首页</a></li>
                <li id="dataQuery">
                    <a  th:href="${#authorization.expression('hasRole(''BQ'')')} ? '/baseQuery/projectQuery' : '/error.html'" style="color: white">基础知识查询</a>
                </li>
                <li id="relationQuery">
                    <p>
                        合作网络分析
                        <a th:href="${#authorization.expression('hasRole(''HZRYFX'')')} ? '/knowledgeDiscovery/personNetworkDiscovery' : '/error.html'" style="color: white">人员</a><a
                            th:href="${#authorization.expression('hasRole(''HZJGFX'')')} ? '/knowledgeDiscovery/unitNetworkDiscovery' : '/error.html'"  style="color: white">机构</a>
                    </p>
                </li>
                <li id="networkAnalysis">
                    <p>
                        关联路径发现
                        <a th:href="${#authorization.expression('hasRole(''GLLJRYFX'')')} ? '/knowledgeDiscovery/personPathDiscovery' : '/error.html'"  style="color: white">人员</a><a
                            th:href="${#authorization.expression('hasRole(''GLLJJGFX'')')} ? '/knowledgeDiscovery/unitPathDiscovery' : '/error.html'"  style="color: white">机构</a>
                    </p>
                </li>
                <li id="communityAnalysis">
                    <p>
                        科研社区发现
                        <a   th:href="${#authorization.expression('hasRole(''KYSQHZFX'')')} ? '/researchCommunityDiscovery/cooCommunityDiscovery' : '/error.html'" style="color: white">合作</a><a
                            th:href="${#authorization.expression('hasRole(''KYSQXSFX'')')} ? '/researchCommunityDiscovery/similarCommunityDiscovery' : '/error.html'"  style="color: white">相似</a>
                    </p>
                </li>
                <li id="hotResearchDiscovery">
                    <p>
                        研究热点分析
                        <a th:href="${#authorization.expression('hasRole(''YJRDTPFX'')')} ? '/researchCommunityDiscovery/hotResearchDiscoveryJoint' : '/error.html'" style="color: white">图谱</a><a
                            th:href="${#authorization.expression('hasRole(''YJRDQSFX'')')} ? '/researchCommunityDiscovery/hotResearchDiscoveryYear' : '/error.html'" style="color: white">走势</a>
                    </p>
                </li>
            </ul>
        </div><!-- navbar-collapse -->
    </div><!-- container -->
</nav>
</div>